<?php get_header(); ?>
<!-- Container -->
<div id="content">

<!-- Start SC -->
<div id="SC">

<?php if (have_posts()) : $post_num = 0; ?>
<?php while (have_posts()) : the_post(); $post_num++;?>

<div class="Post" id="post-<?php the_ID(); ?>">

<div class="PostHead">
<h1><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<small class="PostAuthor">Author: <?php the_author() ?> <?php edit_post_link('Edit'); ?><?php if(function_exists('the_ratings')) { echo " , Rating:";the_ratings('span'); } ?></small>
<p class="PostDate">
<small class="day"><?php the_time('j') ?></small>
<small class="month"><?php the_time('M') ?></small>
<small class="year"><?php  the_time('Y') ?></small>
</p>
</div>
  
<div class="PostContent">

<?php the_excerpt('Read the rest of this entry &raquo;'); ?>

</div>
<div class="PostDet"><ul>
 <li class="PostCom"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><?php if(function_exists('the_views')) {$views=the_views('',false); if ($views!=0)echo " , ".$views." Hits"; } ?></li>
 <li class="PostCateg"><?php if(function_exists('st_the_tags'))st_the_tags(); else the_category(', '); ?></li></ul>
</div>
</div>

<!--<?php trackback_rdf(); ?>-->
<div class="clearer"></div>
<?php endwhile; ?>
		<div class="navigation">
			<div class="alignright"><?php previous_posts_link(__('Older Posts &raquo;')) ?></div>
			<div class="alignleft"><?php next_posts_link(__('&laquo; Newer Posts')) ?></div>
		</div>
<br/>

<?php else : ?>
<h2><?php _e('Not Found'); ?></h2>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div> 
<!-- End SC -->
<!-- Container -->
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
